<?php
$this->Html->setAcoes('<i class="fa fa-plus"></i>' . __('new'), array('action' => 'add'), array('title' => __('new'), 'class' => 'btn btn-info', 'escapeTitle' => false));
$this->Html->setAcoes('<i class="fa fa-search"></i>' . __('List'), array('action' => 'index'), array('title' => __('List'), 'class' => 'btn btn-info', 'escapeTitle' => false));

$this->Html->addCrumb('<i class="fa fa-home"></i> ' . Inflector::camelize($this->request->params ['prefix']), '/' . $this->request->params ['prefix'] . '/', array('escape' => false));
$this->Html->addCrumb('Social', array('prefix' => $this->request->params['prefix'], 'controller' => $this->request->params['controller'], 'plugin' => $this->request->params['plugin'], 'action' => 'index'), array('escape' => false));
$this->Html->addCrumb('Alterar', NULL, array('escape' => false));
?>

<?php
echo $this->Form->create('Social', array(
    'inputDefaults' => array(
        'div' => 'form-group',
        'wrapInput' => false,
        'class' => 'form-control'
    )
));
?>

<div class="row" style="margin-bottom: 15px;">
    <div class="col-xs-12">
        <?php
        echo $this->Form->input('id');
        echo $this->Form->input('chave');
        echo $this->Form->input('chave_secreta');
        echo $this->Form->input('redirect_uri');
        echo $this->Form->input('website_url');
        echo $this->Form->input('token');
        echo $this->Form->input('tipo');
        ?>
    </div>
</div>
<?php
echo $this->Form->button(__('Salvar'), array('type' => 'submit'));
echo $this->Form->end();
?>
